package com.googlecode.simpleqms

class CompanyService {

    def getElement(params) {
        def company = Company.get(params.get('companyId'))
        return [
                id: company.id,
                type: 'root',
                name: company.name,
                description: company.description
        ]
    }
}